package com.ming;

import java.awt.*;

public class Rock extends Object{

    Rock(){
        this.x  = (int) (Math.random()*700);
        this.y  = (int) (Math.random()*500+270);
        this.width = 71;
        this.height = 71;
        this.flag = false;
        this.m = 100;
        this.score = 1;
        this.type = 2;
        this.img = Toolkit.getDefaultToolkit().getImage("imgs/rock1.png");
    }
}
